<%-- 
    Document   : index
    Created on : 5-giu-2010, 18.44.41
    Author     : vito
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" import="Other.Constant, Entity.Utente"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <link rel="stylesheet" type="text/css" href="./css/style2.css" media="screen">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Holidaysrooms Home Page</title>

    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <div id="logo">
                    <h1>holydaysrooms</h1>
                </div>
            </div>
            <!-- end #header -->
            <div id="page">
                <div id="page-bgtop">
                    <div id="page-bgbtm">
                        <div id="content">
                            <% if (request.getParameter("identifier") != null) {%>
                            <div>
                                <dl>
                                    <dt>Your OpenID: <%= request.getParameter("identifier")%></dt>
                                    <dt>Nickname: <%= request.getParameter("nickname")%></dt>
                                    <dt>Email: <%= request.getParameter("email")%></dt>
                                    <dt>Fullname: <%= request.getParameter("fullname")%></dt>
                                    <dt>Date of birth: <%= request.getParameter("dob")%></dt>
                                    <dt>Gender: <%= request.getParameter("gender")%></dt>
                                    <dt>Postcode: <%= request.getParameter("postcode")%></dt>
                                    <dt>Country: <%= request.getParameter("country")%></dt>
                                </dl>
                            </div>
                            <form name="redirection" action="./Servlet" method="post" accept-charset="utf-8">
                                <input type="hidden" name="identifier" value="<%= request.getParameter("identifier")%>"/>
                                <input type="hidden" name="nickname" value="<%= request.getParameter("nickname")%>"/>
                                <input type="hidden" name="email" value="<%= request.getParameter("email")%>"/>
                                <input type="hidden" name="fullname" value="<%= request.getParameter("fullname")%>"/>
                                <input type="hidden" name="dob" value="<%= request.getParameter("dob")%>"/>
                                <input type="hidden" name="gender" value="<%= request.getParameter("gender")%>"/>
                                <input type="hidden" name="postcode" value="<%= request.getParameter("postcode")%>"/>
                                <input type="hidden" name="country" value="<%= request.getParameter("country")%>"/>
                                </c:forEach>
                                 <input type="hidden" name="azione" value="<%=Constant.LOGIN_EXT %>">
                                <button type="submit">Finalizza login</button>
                            </form>                                <%}%>
                            <div style="clear: both;">&nbsp;</div>
                        </div>
                        <%@include file="/WEB-INF/jspf/menu.jspf" %>
                    </div>
                </div>
            </div>
            <!-- end #page -->

        </div>
        <div id="footer">
            <p>Copyright (c) 2010 www.holydaysrooms.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
        </div>
        <!-- end #footer -->
    </body>

</html>